#include "couriernew10.h"
#include <nds.h>

using namespace WoopsiUI;

static const u16 CourierNew10_glyphdata[473] = {
/* '!' */	0xFA00,
/* '"' */	0xB680,0x0000,0x0000,
/* '#' */	0x2ABE,0xA57D,0x5400,0x0000,0x0000,
/* '$' */	0x2786,0x1E44,0x0000,0x0000,
/* '%' */	0x4A4F,0x2520,0x0000,0x0000,
/* '&' */	0x0190,0x8B49,0xE000,0x0000,0x0000,
/* ''' */	0xE000,
/* '(' */	0x5AA5,0x0000,
/* ')' */	0xA55A,0x0000,
/* '*' */	0x27C8,0xA000,0x0000,0x0000,0x0000,
/* '+' */	0x2109,0xF210,0x8000,0x0000,0x0000,
/* ',' */	0x0000,0x1E80,0x0000,
/* '-' */	0x0001,0xF000,0x0000,0x0000,0x0000,
/* '.' */	0x000C,0x0000,
/* '/' */	0x0884,0x4221,0x1000,0x0000,0x0000,
/* '0' */	0x7463,0x18C5,0xC000,0x0000,0x0000,
/* '1' */	0x6108,0x4213,0xE000,0x0000,0x0000,
/* '2' */	0x7444,0x4443,0xE000,0x0000,0x0000,
/* '3' */	0x7442,0x60C5,0xC000,0x0000,0x0000,
/* '4' */	0x1195,0x2F88,0xE000,0x0000,0x0000,
/* '5' */	0x7A10,0xE0C5,0xC000,0x0000,0x0000,
/* '6' */	0x3A21,0xE8C5,0xC000,0x0000,0x0000,
/* '7' */	0xFC42,0x2110,0x8000,0x0000,0x0000,
/* '8' */	0x7462,0xE8C5,0xC000,0x0000,0x0000,
/* '9' */	0x7462,0xF08B,0x8000,0x0000,0x0000,
/* ':' */	0x0C0C,0x0000,
/* ';' */	0x0180,0xF400,0x0000,
/* '<' */	0x004D,0x8304,0x0000,0x0000,0x0000,
/* '=' */	0x003E,0x0F80,0x0000,0x0000,0x0000,
/* '>' */	0x0418,0x3640,0x0000,0x0000,0x0000,
/* '?' */	0x6912,0x2060,0x0000,0x0000,
/* '@' */	0x7467,0x5ACE,0x0F00,0x0000,0x0000,
/* 'A' */	0x3020,0xA143,0x88BB,0x8000,0x0000,0x0000,0x0000,
/* 'B' */	0xF914,0x5E45,0x1F80,0x0000,0x0000,0x0000,
/* 'C' */	0x7C61,0x0845,0xC000,0x0000,0x0000,
/* 'D' */	0xF124,0x5145,0x2F00,0x0000,0x0000,0x0000,
/* 'E' */	0xFA54,0xE527,0xE000,0x0000,0x0000,
/* 'F' */	0xFA54,0xE523,0x8000,0x0000,0x0000,
/* 'G' */	0x7A28,0x209E,0x2700,0x0000,0x0000,0x0000,
/* 'H' */	0xEE89,0x13E4,0x48BB,0x8000,0x0000,0x0000,0x0000,
/* 'I' */	0xF908,0x4213,0xE000,0x0000,0x0000,
/* 'J' */	0x7884,0x2949,0x8000,0x0000,0x0000,
/* 'K' */	0xEE89,0x2384,0x88B9,0x8000,0x0000,0x0000,0x0000,
/* 'L' */	0xE210,0x84A7,0xE000,0x0000,0x0000,
/* 'M' */	0xEED9,0xB2A4,0x48BB,0x8000,0x0000,0x0000,0x0000,
/* 'N' */	0xEEC9,0x92A5,0x49BB,0x0000,0x0000,0x0000,0x0000,
/* 'O' */	0x7463,0x18C5,0xC000,0x0000,0x0000,
/* 'P' */	0xF252,0x9723,0x8000,0x0000,0x0000,
/* 'Q' */	0x7463,0x18C5,0xC700,0x0000,0x0000,
/* 'R' */	0xF124,0x9271,0x2E40,0x0000,0x0000,0x0000,
/* 'S' */	0x6CE0,0xE0C7,0xC000,0x0000,0x0000,
/* 'T' */	0xFD48,0x4211,0xC000,0x0000,0x0000,
/* 'U' */	0xEE89,0x1224,0x488E,0x0000,0x0000,0x0000,0x0000,
/* 'V' */	0xEE89,0x1242,0x850C,0x0000,0x0000,0x0000,0x0000,
/* 'W' */	0xEE89,0x52A5,0x4A8A,0x0000,0x0000,0x0000,0x0000,
/* 'X' */	0xC688,0xA082,0x88B1,0x8000,0x0000,0x0000,0x0000,
/* 'Y' */	0xEE88,0xA081,0x020E,0x0000,0x0000,0x0000,0x0000,
/* 'Z' */	0xFC44,0x4447,0xE000,0x0000,0x0000,
/* '[' */	0xEAAB,0x0000,
/* '\' */	0x8442,0x2211,0x0000,0x0000,
/* ']' */	0xD557,0x0000,
/* '^' */	0x22A2,0x0000,0x0000,0x0000,0x0000,
/* '_' */	0x0000,0x0000,0x0000,0x0001,0xFC00,0x0000,0x0000,
/* '`' */	0x9000,0x0000,
/* 'a' */	0x0007,0x227A,0x2FC0,0x0000,0x0000,0x0000,
/* 'b' */	0xC105,0x9945,0x1F80,0x0000,0x0000,0x0000,
/* 'c' */	0x001F,0x1841,0xE000,0x0000,0x0000,
/* 'd' */	0x1826,0xA68A,0x27C0,0x0000,0x0000,0x0000,
/* 'e' */	0x001D,0x1FC1,0xE000,0x0000,0x0000,
/* 'f' */	0x34F4,0x44F0,0x0000,0x0000,
/* 'g' */	0x0006,0xE68A,0x2782,0x7000,0x0000,0x0000,
/* 'h' */	0xC081,0x6324,0x48BB,0x8000,0x0000,0x0000,0x0000,
/* 'i' */	0x2038,0x4213,0xE000,0x0000,0x0000,
/* 'j' */	0x20F1,0x1111,0xE000,0x0000,
/* 'k' */	0xC105,0xD271,0x2DC0,0x0000,0x0000,0x0000,
/* 'l' */	0x6108,0x4213,0xE000,0x0000,0x0000,
/* 'm' */	0x0003,0xA2A5,0x4ABF,0x8000,0x0000,0x0000,0x0000,
/* 'n' */	0x0003,0x6324,0x48BB,0x8000,0x0000,0x0000,0x0000,
/* 'o' */	0x001D,0x18C5,0xC000,0x0000,0x0000,
/* 'p' */	0x000D,0x9945,0x1790,0xE000,0x0000,0x0000,
/* 'q' */	0x0006,0xE68A,0x2782,0x1C00,0x0000,0x0000,
/* 'r' */	0x0036,0xC423,0xC000,0x0000,0x0000,
/* 's' */	0x001F,0x0707,0xC000,0x0000,0x0000,
/* 't' */	0x010F,0x9041,0x1380,0x0000,0x0000,0x0000,
/* 'u' */	0x0003,0x3224,0x498D,0x8000,0x0000,0x0000,0x0000,
/* 'v' */	0x0003,0xBA24,0x850C,0x0000,0x0000,0x0000,0x0000,
/* 'w' */	0x0003,0xBA25,0x4A8A,0x0000,0x0000,0x0000,0x0000,
/* 'x' */	0x0036,0xA22B,0x6000,0x0000,0x0000,
/* 'y' */	0x0003,0xBA22,0x8504,0x0870,0x0000,0x0000,0x0000,
/* 'z' */	0x003F,0x2227,0xE000,0x0000,0x0000,
/* '{' */	0x292C,0x9220,0x0000,
/* '|' */	0xFF00,
/* '}' */	0x8926,0x9280,0x0000,
/* '~' */	0x0000,0xDB00,0x0000,0x0000,0x0000,
/* 0x7F */	0xF999,0x9999,0xF000,0x0000,
};

static const u16 CourierNew10_offset[95] = {
    0,    1,    4,    9,   13,   17,   22,   23,   25,   27,   32,   37,   40,   45,   47,   52,
   57,   62,   67,   72,   77,   82,   87,   92,   97,  102,  104,  107,  112,  117,  122,  126,
  131,  138,  144,  149,  155,  160,  165,  171,  178,  183,  188,  195,  200,  207,  214,  219,
  224,  229,  235,  240,  245,  252,  259,  266,  273,  280,  285,  287,  291,  293,  298,  305,
  307,  313,  319,  324,  330,  335,  339,  345,  352,  357,  361,  367,  372,  379,  386,  391,
  397,  403,  408,  413,  419,  426,  433,  440,  445,  452,  457,  460,  461,  464,  469
};

static const u8 CourierNew10_width[95] = {
 1, 3, 5, 4, 4, 5, 1, 2, 2, 5, 5, 3, 5, 2, 5, 5,
 5, 5, 5, 5, 5, 5, 5, 5, 5, 2, 3, 5, 5, 5, 4, 5,
 7, 6, 5, 6, 5, 5, 6, 7, 5, 5, 7, 5, 7, 7, 5, 5,
 5, 6, 5, 5, 7, 7, 7, 7, 7, 5, 2, 4, 2, 5, 7, 2,
 6, 6, 5, 6, 5, 4, 6, 7, 5, 4, 6, 5, 7, 7, 5, 6,
 6, 5, 5, 6, 7, 7, 7, 5, 7, 5, 3, 1, 3, 5, 4
};

CourierNew10::CourierNew10(u8 fixedWidth) : PackedFont1 (
	33,
	127,
	CourierNew10_glyphdata,
	CourierNew10_offset,
	CourierNew10_width,
	14,
	4,
	6,
	7
) {
	if (fixedWidth) setFontWidth(fixedWidth);
};
